package com.yule.system.model;

import java.io.Serializable;
import java.util.Date;
import org.springframework.stereotype.Component;

/**
 * system_menu
 * @author 
 */
@Component
public class SystemMenu implements Serializable {
    private Integer id;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * URL
     */
    private String url;

    /**
     * CSS样式
     */
    private String style;

    /**
     * 按钮类型--1，菜单、2，按钮
     */
    private Integer menuType;

    /**
     * 权限编码
     */
    private String permissionCode;

    /**
     * 上级id
     */
    private Integer pid;

    /**
     * 顺序号
     */
    private Integer seq;

    /**
     * 叶子节点 - 0否1是
     */
    private Boolean isLeaf;

    /**
     * 创建人id
     */
    private Integer cid;

    /**
     * 创建时间
     */
    private Date ctime;

    /**
     * 更新人id
     */
    private Integer uid;

    /**
     * 更新时间
     */
    private Date utime;

    /**
     * 是否删除 - 0否1是
     */
    private Boolean isDel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Boolean getLeaf() {
        return isLeaf;
    }

    public void setLeaf(Boolean leaf) {
        isLeaf = leaf;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    private static final long serialVersionUID = 1L;
}